package xyz.scoder;

public class Fan {
    public static final int HIGH = 3;
    public static final int MEDIAN = 2;
    public static final int LOW = 1;
    public static final int OFF = 0;

    private int speed;

    public Fan() {
        speed = this.OFF;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }
}
